package com.sdk.constant;

public enum ErrorCode {


  NO_PERMISSION(-401, "unauthorized！"),
  NOT_FOUND_ERROR(404, "Url not found！"),
  INTERNAL_SERVER_ERROR(500, "Interrupted while waiting for scheduler termination！"),
  PARAM_ERROR(-404, "Param is Error！");

  final int code;
  final String msg;

  ErrorCode(int code, String msg) {
    this.code = code;
    this.msg = msg;
  }


  public String getMsg() {
    return msg;
  }

}
